#define _CRT_SECURE_NO_WARNINGS 

#include"string.h"

void test1()
{
	const string s1("hello wrold");
	cout << s1.c_str();
	string::const_iterator it = s1.begin();
	while (it != s1.end())
	{
		cout << *it;
		it++;
	}
}
void test2()
{
	string s2;
	
	s2 += "xxxxxxxxxxxxxx";
	s2 += "yccc\0ccccccccccccccc";
	cout << s2.c_str();
	string::iterator it2 = s2.begin();

}

int main()
{
	test2();
	
	return 0;
}
